package com.fastCms.business.mall.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 杭州人参大健康管理有限公司 版权所有 Copyright 2019<br>
 *
 * @Description: <br>
 * @Project: healthPro <br>
 * @CreateDate: Created in 2019年4月26日 下午3:50:30 <br>
 * @Author: < a href="jiahui.zhao@healthpro.vip">jiahui.zhao</ a>
 */
@ApiModel(value = "AppProductPickShareStatusInfoVO", description = "转赠产品提货码的信息")
@Data
public class AppProductPickShareStatusInfoVO {

    @ApiModelProperty(value = "产品编号")
    private String productNumber;

    @ApiModelProperty(value = "产品类型(ProductTypeEnum)")
    private String productType;

    @ApiModelProperty(value = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品主图")
    private String mainImageUrl;

    @ApiModelProperty(value = "产品单价")
    private BigDecimal unitPrice;

    @ApiModelProperty(value = "产品SKU", example = "{颜色:黑色}")
    private String skuDesc;

    @ApiModelProperty(value = "产品ID")
    private String productId;

    @ApiModelProperty(value = "提货码")
    private String pickCode;

    @ApiModelProperty(value = "是否有sku(1-是 0-否)")
    private Integer hasSku;

    @ApiModelProperty(value = "失效时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date expireTime;

    @ApiModelProperty(value = "赠送人用户ID", example = "1")
    private String shareCustId;

    @ApiModelProperty(value = "赠送人昵称")
    private String shareNickName;

    @ApiModelProperty(value = "转赠领取状态（0：未领取 1：已领取 2：去使用(如果是自己的提货码,分享出去）")
    private Integer receiveStatus;

    public AppProductPickShareStatusInfoVO() {
        super();
    }

}
